package com.example.administrator.himalaya.activity;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.example.administrator.himalaya.R;

public class HelperActivity extends AppCompatActivity implements View.OnClickListener {

    private ImageView mBack;
    private TextView mText;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_helper);
        mBack = (ImageView) findViewById(R.id.back);
        mText = (TextView) findViewById(R.id.text_ZL);
        mBack.setOnClickListener(this);
        mText.setOnClickListener(this);
    }

    @Override
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.back:
                finish();
                break;
            case R.id.text_ZL:
                Intent intent = new Intent(this, Helper_ZLActivity.class);
                startActivity(intent);
                break;
        }
    }
}
